package com.atguigu.ssyx.user.service;

import com.atguigu.ssyx.model.user.User;
import com.atguigu.ssyx.vo.user.LeaderAddressVo;
import com.atguigu.ssyx.vo.user.UserLoginVo;
import com.baomidou.mybatisplus.extension.service.IService;

public interface UserService extends IService<User> {

    // 根据openId查询用户信息
    User getUserByOpenId (String openId);

    // 根据用户id获取提货点和团长信息
    LeaderAddressVo getLeaderAddressByUserId (Long userId);

    // 根据用户id获取当前用户的登录信息
    UserLoginVo getUserLoginVo (Long userId);
}
